@charset "utf-8";
$font-size:12px;
:root{
  --au-height:360px;
  --au-width:180px;
  --au-head-height:34px;
  --au-color:#EA3323;
  --au-total-color:#ea5a23;
  --au-color-hover:#9f2922;
  --au-scroll-color:rgba(234, 51, 35, 0.1);
  --au-scroll-hover:rgba(234, 51, 35, 0.5);
  --au-box-shadow:0 0 0 2px rgba(240,45,45,.2);
}

$color:var(--au-color);
$total-color:var(--au-total-color);
$color-hover: var(--au-color-hover);
$scroll-color: var(--au-scroll-color);
$scroll-hover: var(--au-scroll-hover);

@mixin scroll($px:4px){
  ::-webkit-scrollbar {
    width:$px;
    height:$px;
  }
  ::-webkit-scrollbar-track {
    width: $px;
    background-color:$scroll-color;
    -webkit-border-radius: $px;
    -moz-border-radius: $px;
    border-radius:$px;
  }
  ::-webkit-scrollbar-thumb {
    background-color:$scroll-hover;
    background-clip:padding-box;
    -webkit-border-radius: $px;
    -moz-border-radius: $px;
    border-radius:$px;
  }
}
.au_scroll{
  @include scroll(6px);
}
.au_tool_home{
  font-size: $font-size;
  color: rgba(128, 128, 128, 1);
  width: var(--au-width);
  height: var(--au-height);
  position: fixed;
  left: 2px;
  top: 50%;
  margin-top: -200px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  background: #ffffff;
  z-index: 99999999;
  font-family:Source Han Sans CN 微软雅黑;
  @include scroll();
  .au_left{
    width: var(--au-width);
  }
  .au_total{
    position: absolute;
    top: 0;
    left: var(--au-width);
    height: var(--au-height);
    width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    display: flex;
    flex-flow: column nowrap;
    .au_total_loading{
      height:calc( var(--au-height) - var(--au-head-height));
      flex: 1;
    }
  }
  .au_title,.au_total_title{
    padding:0 10px;
    height: var(--au-head-height);
    line-height: var(--au-head-height);
    background: $color;
    color: #fff;
    font-weight: bold;
    font-size: $font-size;
  }
  .au_total_title{
    height: var(--au-head-height);
    background: $total-color;
    .au_total_close{
      position: absolute;
      right: 0;
      color: #fff;
      top: 0;
      width: 30px;
      text-align: center;
      font-size: 16px;
      font-weight: 300;
      cursor: pointer;
      background: #e07777;
    }
  }
  .au_home{
    height: calc( var(--au-height) - var(--au-head-height));
    display: flex;
    flex-flow: column nowrap;
  }
  .au_list{
    flex: 1;
    padding: 0 10px;
    overflow: auto;
    /*滚动条的宽度*/
    .au_btn{
      background: $color;
      color: #fff;
      padding: 6px;
      border-radius: 4px;
      margin-top: 8px;
      cursor: pointer;
      .fa{
        margin-right: 2px;
      }
      &:hover{
        background: $color-hover;
      }
    }
    .au_btn2{
      color: #EA3323;
      background: #fff;
      box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1);
      transition: box-shadow .3s;
      &:hover{
        background: #ffffff;
        box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.2);
      }
    }
    .au_info{
      margin-top: 7px;
      line-height: 14px;
    }
  }
  .au_bottom{
    padding:0 10px;
    height: var(--au-head-height);
    line-height: var(--au-head-height);
  }
  .au_return{
    text-align: center;
    font-weight: 400;
    cursor: pointer;
    .fa{
      position: relative;
      left: -8px;
    }
  }
  .au_total_content{
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-flow: column nowrap;
  }
}
.el-loading-mask{
  z-index: 99999999!important;
}
//重写iview Page样式
.au_pages{
  margin-top: 4px;
  text-align: right;
}
.au_text_right{
  text-align: right;
}
.au_width_120{
  width: 120px;
}
.au_row{
  margin-bottom: 8px;
}
.ivu-message{
  z-index: 999999999999!important;
}
